package com.zzh.structuredeployment

import com.zzh.tools.Tools
import com.zzh.tools.utils.ToolEntityAssignment
import org.junit.Test

import org.junit.Assert.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
//        var algorithm = Algorithm()
//
//        println(">>>>" + algorithm.isPrimeNumber(3))
//        println(">>>>${algorithm.isPalindrome(1113111)}")

        Tools.print("zhang")
        val bean = ToolEntityAssignment.createBean(TestBean::class.java);
        println(bean)
        println("la la la la la la ")
        val beans =
            ToolEntityAssignment.createBeans(10, TestBean::class.java, TestBeanTwo::class.java)
        beans.forEach {
            println(it)
        }
//        bean?.let {
//            println(" == $bean")
//        }
        assertEquals(4, 2 + 2)
    }
}